//
//  ClubModel.m
//  SugarPile
//
//  Created by Charlie. on 16/1/22.
//  Copyright © 2016年 www.lanou39.蓝鸥科技. All rights reserved.
//

#import "ClubModel.h"

@implementation ClubModel
- (void)dealloc
{
    [_cover_desc release];
    [_photo_path release];
    [_title release];
    [_userid  release];
    [_visit_count release];
    [super dealloc];
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"cover"]) {
        self.cover_desc = value[@"cover_desc"];
        self.photo_path = value[@"photo_path"];
    }
    
    if ([key isEqualToString:@"id"]) {
        self.userid = value;
    }
}

@end
